<!--
  @author yangjiangming
  @date 2018-12-10 20:40:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html th:replace="~{work/modify/common/layout :: layout('备注', ~{::title}, ~{::content}, ~{::script})}">
<head>
    <title>工单管理-备注</title>
</head>
<body>

<div class="content" th:fragment="content">
    <style>
        .layui-form-item .d-label {
            width: 60px;
        }

        .d-tips {
            color: #FF5722;
        }
    </style>
    <form action="" class="layui-form">
        <input type="hidden" id="work-id" name="workId" th:value="${orderWork.workId}">
        <input type="hidden" id="order-id" name="orderId" th:value="${orderWork.orderId}">
        <div class="layui-form-item">
            <label class="layui-form-label d-label">内部备注</label>
            <div class="layui-inline" style="width: 800px;">
                <textarea class="layui-textarea" maxlength="500" name="remark" lay-verify="length|validateReamrk" placeholder="请输入"></textarea>
                <p class="d-tips">内部备注:仅运营平台可见</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label d-label">工程师app</label>
            <div class="layui-inline" style="width: 800px;">
                <textarea class="layui-textarea" maxlength="500" name="masterRemark" lay-verify="length|validateReamrk" placeholder="请输入"></textarea>
                <p class="d-tips">工程师app和运营平台可见</p>
            </div>
        </div>
        <!-- 商家备注 工单对应来源渠道开通有厂商or商家账户时，显示备注框-->
        <div class="layui-form-item" th:if="${supportFactoryRemark}">
            <label class="layui-form-label d-label">商家备注</label>
            <div class="layui-inline" style="width: 800px;">
                <textarea class="layui-textarea" maxlength="500" name="factoryRemark" lay-verify="length|validateReamrk" placeholder="请输入"></textarea>
                <p class="d-tips">仅厂商or商家、运营平台可见</p>
            </div>
        </div>
        <!-- 服务商备注 厂商单&保内，显示：服务商备注框-->
        <div class="layui-form-item" th:if="${supportServiceProviderRemark}">
            <label class="layui-form-label d-label">服务商备注</label>
            <div class="layui-inline" style="width: 800px;">
                <textarea class="layui-textarea" maxlength="500" name="serviceProviderRemark" lay-verify="length|validateReamrk" placeholder="请输入"></textarea>
                <p class="d-tips">仅服务商&运营平台可见</p>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline" style="margin-left: 90px;">
                <input type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="savedata" value="保存"></input>
            </div>
        </div>
    </form>

</div>

<script th:inline="javascript">

    var layuiModel = {
        oms_work_modify_remark: "work/modify/zmn.oms.work.modify.remark"
    };
</script>
</body>
</html>